package com.itheima.service;

import com.itheima.bean.User;

public interface UserService {
    /**
     * 验证手机号登入
     * @param phone
     * @return
     */
    User findLogin(String phone);

    /**
     * 添加用户
     * @param user
     * @return
     */
    int add(User user);
}
